package org.weso.lodin.to;

import org.weso.lodin.generated.CountryEnum;
import org.weso.lodin.generated.Dataset;
import org.weso.lodin.utils.StatusUtils;

public class RankingScoreObservationTO {
	private String title;
	private String dataType;
	private String country;
	private CountryEnum countryType;
	private String countryAlt;
	private CountryEnum countryTypeAlt;
	private String value;
	private String year;
	private Dataset dataset; //indicator, component, subindex and index
	private CountryTO countryDecorated;
	private StatusUtils status;
	
	
	
	public RankingScoreObservationTO(
			String title, 
			String dataType, 
			String country,
			CountryEnum countryType,
			String countryAlt,
			CountryEnum countryTypeAlt,
			String value, 
			String year) {
		this.title = title;
		this.dataType = dataType;
		this.country = country;
		this.countryType = countryType;
		this.countryAlt = countryAlt;
		this.countryTypeAlt = countryTypeAlt;
		this.value = value;
		this.year = year;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getDataType() {
		return dataType;
	}
	public void setDataType(String dataType) {
		this.dataType = dataType;
	}
	public String getCountry() {
		return country;
	}
	public void setCountry(String country) {
		this.country = country;
	}
	public CountryEnum getCountryType() {
		return countryType;
	}
	public void setCountryType(CountryEnum countryType) {
		this.countryType = countryType;
	}
	public String getCountryAlt() {
		return countryAlt;
	}
	public void setCountryAlt(String countryAlt) {
		this.countryAlt = countryAlt;
	}
	public CountryEnum getCountryTypeAlt() {
		return countryTypeAlt;
	}
	public void setCountryTypeAlt(CountryEnum countryTypeAlt) {
		this.countryTypeAlt = countryTypeAlt;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	public String getYear() {
		return year;
	}
	public void setYear(String year) {
		this.year = year;
	}
	public Dataset getDataset() {
		return dataset;
	}
	public void setDataset(Dataset ref) {
		this.dataset = ref;
	}
	public CountryTO getCountryDecorated() {
		return countryDecorated;
	}
	public void setCountryDecorated(CountryTO countryDecorated) {
		this.countryDecorated = countryDecorated;
	}
	public StatusUtils getStatus() {
		return status;
	}
	public void setStatus(StatusUtils status) {
		this.status = status;
	}
	@Override
	public String toString() {
		return "RankingScoreObservationTO [title=" + title + ", dataType="
				+ dataType + ", country=" + country + ", value=" + value
				+ ", year=" + year +", dataset=" +dataset.getIndicator()+ "]";
	}
	
		
}
